package com.encryption.model;

import java.util.Date;

/**
 * UserVerifyCode entity. @author MyEclipse Persistence Tools
 */

public class UserVerifyCode implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userId;
	private String code;
	private String random;
	private Date createDate;
	private Date modifyDate;

	// Constructors

	/** default constructor */
	public UserVerifyCode() {
	}

	/** minimal constructor */
	public UserVerifyCode(Integer userId, String code) {
		this.userId = userId;
		this.code = code;
	}

	/** full constructor */
	public UserVerifyCode(Integer userId, String code, String random,
			Date createDate, Date modifyDate) {
		this.userId = userId;
		this.code = code;
		this.random = random;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getRandom() {
		return this.random;
	}

	public void setRandom(String random) {
		this.random = random;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

}